<head>	
    <link href="css/admin_style.css" rel="stylesheet" type="text/css" />
</head>

<div id = "user_details">

	<?php $comp_id = $_GET['id'];
	$action = $_GET['action'];

	$query = "select * from companies_details where comp_id = ". $comp_id; 

	
	$results = $set->qry($query);

	

	$num_results = $results -> num_rows;
	?>

	<table>
	<?php
		if ($num_results > 0)		
			echo("<th>&#908;&#957;&#959;&#956;&#945; &#960;&#949;&#948;&#943;&#959;&#965;</th><th>&#916;&#949;&#948;&#959;&#956;&#941;&#957;&#945;</th>");
		while($row = mysql_fetch_assoc($results))
	{
	?>
		<tr>
			<td><?php echo 'Company Name'?></td>
			<td><?php echo $row['comp_name']?></td>
		</tr>
		<tr>
			<td><?php echo 'Company URL'?></td>
			<td><a href="<?php echo $row['comp_logo']?>"><?php echo $row['comp_logo']?></a></td>
		</tr>
		<tr>
			<td><?php echo 'Company Type'?></td>
			<td><?php echo $row['comp_desc']?></td>
		</tr>
		<tr>
			<td><?php echo 'Company Location'?></td>
			<td><?php echo $row['comp_loc']?></td>
		</tr>
		
		<?php } ?>
	</table>

</div>